package oo5;

import oo4.Pet;

public class Myna extends Pet {
	public Myna(String name, int health, int love, String sex) {
		super(name, health, love, sex);
	}

	public void talk() {
		System.out.println("八哥" + super.getName() + "在学说话");
	}

	@Override
	public void eat() {
		System.out.println(super.getName() + "吃鸟粮");
	}

	@Override
	public void feed(String food) {
		System.out.println("在喂" + food);

	}
}
